package com.qijian.maindata.domain.query;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 物料需求对象 查询条件类
 *
 * @author qijian
 * @date 2022-02-23
 */

@Data
@ToString
@TableName("main_line_change_item")
public class LineChangeItemQuery {

    @WhereType(filed = "demand_id")
    private Long demandId;
    @WhereType(filed = "line_id")
    private Long lineId;
    @WhereType(filed = "line_code")
    private String lineCode;
    @WhereType(filed = "process_id")
    private Long processId;
    @WhereType(filed = "process_code")
    private String processCode;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_code")
    private String itemCode;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "item_units")
    private String itemUnits;
    @WhereType(filed = "quantity")
    private BigDecimal quantity;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "producer_id")
    private Long producerId;
    @WhereType(filed = "producer_name")
    private String producerName;
    @WhereType(filed = "approval_by")
    private String approvalBy;
    @WhereType(filed = "approval_time")
    private Date approvalTime;
    @WhereType(filed = "approval_status")
    private String approvalStatus;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
